function TreeNode(val){
    this.val = val
    this.left = null
    this.right = null
}
const node=new TreeNode(1)
const node1=new TreeNode(2)
const node2=new TreeNode(3)
node.left=node1
node.right=node2